const fields = [{
    dataIndex: 'index',
    key: 'index',
    title: '序号',
    width: 50,
    scopedSlots: {
      customRender: 'subscript'
    }
  },
  {
    dataIndex: 'model',
    key: 'model',
    title: '短信通知类型',
    width: 250
  },
  {
    dataIndex: 'phones',
    key: 'phones',
    title: '短信通知类型(可多选)',
    width: 150,
    scopedSlots: {
      customRender: 'brief'
    }
  },
  {
    title: '操作',
    key: 'action',
    fixed: 'right',
    scopedSlots: {
      customRender: 'action'
    }
  }
]

const modelfields = [{
    dataIndex: 'index',
    key: 'index',
    title: '序号',
    width: 50,
    scopedSlots: {
      customRender: 'subscript'
    }
  },
  {
    dataIndex: 'model',
    key: 'model',
    title: '通知业务情景类型',
    width: 250
  },
  {
    dataIndex: 'template',
    key: 'template',
    title: '短信模板内容',
    width: 150
  },
  {
    title: '操作',
    key: 'action',
    fixed: 'right',
    scopedSlots: {
      customRender: 'action'
    }
  }
]
const slotOpt = [{
  slot: 'action',
  component: 'Action',
  list: [{
    name: '修改',
    cb: 'edit'
  }, ]
}]
const modelslotOpt = [{
  slot: 'action',
  component: 'Action',
  list: [{
    name: '修改',
    cb: 'modelEdit'
  }, ]
}]
const infoRow = [{
    label: '第三方短信平台供应公司',
    value: '-',
    key: 'title',
    labelSpan: 6,
    valueSpan: 6
  },
  {
    label: '第三方短信平台开户名',
    value: '-',
    key: 'informationTypeStr',
    labelSpan: 6,
    valueSpan: 6
  },
  {
    label: '账户余额',
    value: '-',
    key: 'publishTime',
    labelSpan: 6,
    valueSpan: 6
  },
  {
    label: '费用标志',
    value: '-',
    key: 'picture',
    labelSpan: 6,
    valueSpan: 6
  }
]

module.exports = {
  fields,
  modelfields,
  slotOpt,
  modelslotOpt,
  infoRow
}